/*Code de grille*/

#grilleJeuMenu {
	position: relative;
}

#grille1, #grilleMotFleche {
	border-collapse: collapse;
	background-color: white;
	margin-left: 150px;
	position: relative;
	table-layout:fixed;
}

#grille1 td, #grilleMotFleche td {
	border: 1px solid black;
	color: black;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 200%;
	text-align: center;
	padding: 0px;
	z-index: 0;
}

#grille1 td {
	width: 45px;
	height: 45px;
}

#grilleMotFleche td {
	width: 52px;
	height: 52px;
}

#grilleMotFleche tr {
	height: 52px !important;
}

#caseTexte {
	height: 92%;
	width: 93%;
	border-radius: 0px;
	background-color: #FFFFCC;
	color: black;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 100%;
	text-align: center;
	border: 1px solid orange;
	margin: 0px;
	z-index: 10;
	color: black
}

.caseSelectionnee {
	background-color: #99FFFF;
}

.definitionSelectionneeMF {
	background-color: #FFFF99 !important;
}

.casesMotSelectionne {
	background-color: #FFFF99;
}

.caseNoire {
	background-color: black;
}

#grille1 th {
	padding-left: 5px;
	padding-right: 5px;
	background: #F7FFD9;
}

#definitions {
	border: 1px solid black;
	margin-left: 20px;
	margin-right: 20px;
	float: right;
	width: 250px;
}

.titreDefinitions {
	text-align: center;
	color: black;
	font-weight: bold;
}

.ligne_definition {
	margin: 0px;
	padding: 5px 10px;
}

#defHorizontales, #defVerticales {
	border: 1px solid black;
	margin: 10px;
	padding-bottom: 15px;
	background-color: white;
}

.definitionSelectionnee2 {
	background-color: #FFFF99;
	border: 1px solid yellow;
}

.colIndex,.rowIndex {
	display: none;
}

#grilleMotFleche .conteneurDef {
	width: 50px;
	height: 50px;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	border-radius: 0px;
	border: 1px solid black;
	background-color: gray;
}

#grilleMotFleche .definitionMF {
	background-color: #f3f0ee;
	color: black;
	font-size: 9px;
	/*width: 100%;*/
	width: 49px;/**/
	/*height: 50px;*/
	font-weight: bold;
	line-height: 90%;
	padding: 3px 0px;
	margin: 0px;
	border-bottom: 1px solid black;
	z-index: 10;
	word-wrap: break-word;
	overflow: hidden;
	border-radius: 0px;
}

.correctCase {
	background-color: #99FF66 !important;;
}

.errorCase {
	background-color: #FF9999 !important;;
}

/*zoom*/

#zoomDiv {
	position: absolute;
	width: 60px;
	height: 60px;
	background-color: yellow;
	border: 1px solid orange;
	font-size: 12px;
	text-align: center;
	font-weight: bold;
	text-transform: uppercase;
	padding: 5px;
	word-wrap: break-word;
	display: none;
}

.caseLettre div {
	height: 100%;
	width: 100%;
}

/*********************** EDITEUR ******************************/

textarea#editDef {
	color: black;
	font-size: 9px;
	width: 90%;
	height: 90%;
	z-index: 100;
	overflow:hidden;
}


div#synonymes {
	float: right;
	width: 150px;
	height: 150px;
	border: 1px solid black;
	background-color: white;
	padding: 5px;
	font-size: 120%;
}

div#synonymes h3 {
	text-align: center;
}

div#synonymes ul {
	list-style-type: none;
	padding: 0px;
}


div#synonymes a {
	display: block;
	width: 100%;
	height: 100%;
	font-weight: bold;
}

div#synonymes a:hover {
	color: green;
}

.emptyDef {
	background-color: orange;
}


/*********************** COMMENTAIRES **************************/

#commentaires {
	background-color: white;
	width: 550px;
	margin: 50px auto;
	padding: 5px 10px;
	border: 1px solid black;
	font-size: 14px;
}

#commentaires .commentaire{
	background-color: #FFFF99;
	border: 1px solid yellow;
	margin: 5px;
	padding: 5px;
	border-radius : 5px;
}

#logMessage {
	text-align: center;
	padding: 10px;
}

#commentaire form {
	margin: auto;
}

#commentaire textarea {
	width: 500px;
}

/****************************MENU HORIZONTAL GRILLE*************************/

#menuMotsCroises {
	float : left;
	z-index: 100;
	margin-right: 70px;
	margin-top: 30px;
	position: absolute;
}

#nav{
	position: absolute;
	z-index: 100;
}

#nav, #nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-position: outside;
	text-align: center;
}

#nav ul {
	position: absolute;
	left: 85px;
	top: 0px;
	display: none;
}

#nav a {
	display: block;
	width: 80px;
	height: 35px;
	border-top: 1px solid white;
	padding: 5px;
	color: white;
	background-color: black;
}

#nav a:hover {
	color: black;
	background-color: white;
	border-top: 1px solid black;
}

#nav li {
	height: 35px;
	position: relative;
}
#nav li:hover > ul {
	display: block;
}

/*#nav li {
	width: 10em;
	text-align: center;
}

#nav, #nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-position: outside;
	position: relative;
	line-height: 1.5em;
}

#nav a:link,#nav a:active,#nav a:visited {
	display: block;
	padding: 5px 5px;
	border: 1px solid #333;
	color: #fff;
	text-decoration: none;
	background-color: #333;
}

#nav a:hover {
	background-color: #fff;
	color: #333;
}

#nav li {
	//float: left;
	position: relative;
}

#nav ul {
	display: none;
	width: 9em;
}

#nav li ul a {
	width: 9em;
}

#nav ul ul {
	top: 0px;
	position: absolute;
}

#nav li ul ul {
	left: 9em;
    margin:0px 0 0 10px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul {
	display: none;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul
	{
	display: block;
}*/



/* Menu contextuel */

#menuContext{
	display: none;
	position: absolute;
}

#menuContext, #menuContext ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-position: outside;
	text-align: center;
}

#menuContext ul {
	position: absolute;
	left: 105px;
	top: 0px;;
	display: none;
}

#menuContext a {
	display: block;
	width: 100px;
	height: 20px;
	border-top: 1px solid white;
	padding: 5px;
	color: white;
	background-color: black;
}

#menuContext a:hover {
	color: black;
	background-color: white;
	border-top: 1px solid black;
}

#menuContext li {
	height: 25px;
	position: relative;
}
#menuContext li:hover > ul {
	display: block;
}

/*Alert personnalise*/

#alertPers, #confirmPers {
	border: 1px solid black;
	background-color:  #BDE5F8;
	color: #00529B;
	padding: 15px;
	font-size: 16px;
	font-weight: bold;
	position: absolute;
	width: 250px;
	height: 100px;
	text-align: center;
	//opacity: 1;
	z-index: 1100;
	top: 50%;
	left: 50%;
	
}

#alertPers {
	cursor: pointer;
}

#alertConteneur, #confirmConteneur {
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	position: absolute;
	/*opacity: 0.7;
	moz-opacity:0.7;
	ilter:alpha(opacity=50);*/
	z-index: 1000;
	top: 0;
	left: 0;
	display: none;
}


#buttonsConfirm {
	position: absolute;
	bottom: 25px;
	left: 70px;
	margin: 0px auto;
	width: 150px;
	text-align: center;
}

#buttonsConfirm button {
	display: inline-block;
	margin: auto;
	width: 60px;
	background-color: #00529B;
	margin: 0px 5px;
	border: 3px outset blue;
	color: white;
}

#buttonsConfirm button:hover {
	background-color: yellow;
	cursor: pointer;
	color: black;
	border-color: yellow;
}


/*Recherche de mots*/

#rechercheMotDiv {
	float: left;
	background: #F7FFD9;
	color: #181A12;
	box-shadow: 10px 10px 5px #888;
	width: 180px;
	padding: 10px 20px;
	position: absolute;
	top: 550px;
}
